#region Using directives

using System;
using System.Collections.Generic;
using System.Text;

#endregion

namespace Weazel.Gezel.Model
{
  public class SignalTrace : AbstractEntity<Datapath>
  {
    private Expression expr;

    public Expression Expression
    {
      get { return expr; }
    }

    private string filename;

    public string Filename
    {
      get { return filename; }
    }

		public SignalTrace(
			Datapath parent, 
			Expression expr, 
			string filename, 
			Position startPosition,
			Position endPosition
		)
			: this(parent, expr, filename)
    {
			this.startPosition = startPosition;
			this.endPosition = endPosition;
    }

    public SignalTrace(Datapath parent, Expression expr, string filename) : base(parent)
    {
      this.expr = expr;
      this.filename = filename;
    }
  }
}
